import { defineStore } from "pinia";

export const useThemeStore = defineStore('theme', {
    state: () => ({
        theme: 'dark'
    }),
    getters: {
        
    },
    actions: {
        // 设置主题
        setTheme(val){
            this.theme = val;
        },
    }
});